<script setup>
import webUI from "./pages/layout.vue";
import mobileUI from "./pages/web-mobile.vue";

import { ref } from "vue";

import { detectDeviceType } from "./utils";
const device = detectDeviceType();
const isMobile = ref(device !== "Desktop");
console.log(device, isMobile.value, 11);
</script>

<template>
  <webUI v-if="!isMobile" />
  <mobileUI v-if="isMobile" style="width: 350px; margin: 0 auto;"/>
</template>

<style lang="less" scoped>
</style>
